home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 32 / Amiga Format AFCD32 (Nov 1998, Issue 117).iso / -seriously_amiga- / programming / other / cgraphx / c / examples / smakefile < prev    next >
Makefile  |  1998-08-10  |  469b  |  26 lines

  1.  
  2. SCOPTS = UNSCHAR STRMERGE NOSTKCHK PARMS=REGISTER OPTIMIZE
  3.  
  4. LIBS   = LIB:cgraphx.lib LIB:sc.lib LIB:amiga.lib
  5. SLO    = SC SD ND
  6.  
  7. .c.o:
  8.     sc $*.c $(SCOPTS) OBJNAME=$@
  9.  
  10. EXAMPLES = Window ScreenModeReq
  11.  
  12. all: $(EXAMPLES)
  13.  
  14. clean:
  15.     -Delete $(EXAMPLES) \#?.(info|o) QUIET
  16.  
  17. Window: Window.o
  18.     slink FROM LIB:c.o $*.o $(SLO) LIB $(LIBS) TO $@
  19.  
  20. Window.o: Window.c
  21.  
  22. ScreenModeReq: ScreenModeReq.o
  23.     slink FROM LIB:c.o $*.o $(SLO) LIB $(LIBS) TO $@
  24.  
  25. ScreenModeReq.o: ScreenModeReq.c
  26.